package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class AddsEachValueOfTheFirstArrayWithTheCorrespondingValueOfTheSecondOne {
	public static double[] add(double[] first, double[] second) {
		double[] result = new double[first.length];
		for (int i = 0; i < result.length; i++) {
			result[i] = first[i] + second[i];
		}
		return result;
	}
}
